<#include "/includes/header.ftl">


<div id='productlist_brands'>
	<#include "/includes/leftbar.ftl">
</div>

<div id='productlist_contents'>
  <form name="edit_store_profile" action='<@spring.url "/editstoreprofile.php"/>' method="post" onsubmit="return check_form(create_account);">
		<div><b>Edit Store Profile</b>&nbsp;&nbs;<A href='<@spring.url "/updatestoreprimarycategory.php?type=area"/>'>Set Primary Area/Business</A>
		</div>
		<div class="label">Store Id:</div>
		<div>
	          <@spring.bind "command.store.id" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("hgz")}' size="16" onBlur=alert("我失去了输入焦点！")/>&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">Store Name:</div>
		<div>
	          <@spring.bind "command.store.name" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("Please Input Your Company Name")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">Store Full Name:</div>
		<div>
	          <@spring.bind "command.store.fullName" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("Please Input Your Company Name")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">Store Tel:</div>
		<div>
	          <@spring.bind "command.store.tel" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("Please Input Your Company Name")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">Store Fax:</div>
		<div>
	          <@spring.bind "command.store.fax" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("Please Input Your Company Name")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">Zip:</div>
		<div>
	          <@spring.bind "command.store.zip" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("Please Input Your Company Name")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">Address:</div>
		<div>
	          <@spring.bind "command.store.address" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("Please Input Your Company Name")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">Store Small Image:</div>
		<div>
	          <@spring.bind "command.store.smallImage" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("http://localhost:8080/jubao/IMAGES/STORE/STORE_SMALL_DEFAULT.JPG")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">Store Medium Image:</div>
		<div>
	          <@spring.bind "command.store.mediumImage" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("http://localhost:8080/jubao/IMAGES/STORE/STORE_MEDIUM_DEFAULT.JPG")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">Store Large Image:</div>
		<div>
	          <@spring.bind "command.store.largeImage" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("http://localhost:8080/jubao/IMAGES/STORE/STORE_LARGE_DEFAULT.JPG")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		
		<div class="label">Short Desc:</div>
		<div>
	          <@spring.bind "command.store.shortDesc" />
	          <textarea  name="${spring.status.expression}" cols="60" rows="5">${spring.status.value?default("")}</textarea>&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">Detail Desc:</div>
		<div>
	          <@spring.bind "command.store.longDesc" />
	          <textarea  name="${spring.status.expression}" cols="60" rows="10">${spring.status.value?default("")}</textarea>&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<#--
		<div class="label">Status:</div>
		<div>
	      <@spring.bind "command.store.status" />
		    <#assign status = spring.status.value?default(1001)>
			  <INPUT type="radio" name="${spring.status.expression}" value="1001" <#if status == 1001>checked</#if>>正在编辑&nbsp;&nbsp;
			  <INPUT type="radio" name="${spring.status.expression}" value="1002" <#if status == 1002>checked</#if>>申请审批&nbsp;&nbsp;
			  <INPUT type="radio" name="${spring.status.expression}" value="1003" disabled="true" <#if status == 1003>checked</#if>>审批失败&nbsp;&nbsp;
			  <INPUT type="radio" name="${spring.status.expression}" value="1004" disabled="true" <#if status == 1004>checked</#if>>审批通过&nbsp;&nbsp;
	      <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">Comment:</div>
		<div>
	    * 只有状态为<font color="red">审批通过</font>,店铺资料才能被零售商及顾客检索到,才能销售商品.<br>
	    * 只有状态为<font color="red">申请审批</font>,服务专员才会查看你店铺的资料,如果通过检查,则会将状态改为<font color="red">审批通过</font>.<br>
	    * 系统管理员保留权利根据网站管理规则将你店铺状态改为<font color="red">审批失败</font>.
		</div>
		-->
		
		<div class="label"></div>
		<div>
	    <input type="submit" name="Submit" value="保存" />
		</div>
	</form>		
</div>

<#include "/includes/footer.ftl">